#!/bin/sh
pid=$(ps -ef | grep gen-1.0.0-SNAPSHOT.jar | grep -v grep | awk '{print $2}')
if [ -n "$pid" ]; then
  echo "stop gen.jar, pid:" "$pid"
  kill -9 "$pid"
fi
